#!/usr/bin/env python
# -*- coding: utf-8 -*-

import subprocess
import platform

if __name__ == "__main__":
    py_ver = platform.python_version()
    for i in range(100):
        print(i,":")
        if subprocess.call("./RNGs PM 100",shell=True)==1:
            break
        if subprocess.call("./RNGs MT 100",shell=True)==1:
            break
        if subprocess.call("./RNGs LCG 100",shell=True)==1:
            break;
        if subprocess.call("./RNGs XS 100",shell=True)==1:
            break;
    print("press 'Enter' key to exit...")
    if py_ver.startswith("2."):
        raw_input()
    else:
        input()
